<#import "/spring.ftl" as spring>
<#import "/_inc/_project.ftl" as html>
<#macro header title="" bodyCls="">
<!DOCTYPE html>
<html>
<head>
    <title>${title!}</title>
    <meta charset="utf-8"/>
    <meta name="renderer" content="webkit"/>
    <meta name="force-rendering" content="webkit"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <link href="http://113.140.71.251:1000/cdn/jx/2.0.0/jx.css" rel="stylesheet"/>
    <#--<link href="http://10.1.1.5:8888/jx.css" rel="stylesheet"/>-->
    <link href="<@spring.url '/auth/css/auth.css'/>" rel="stylesheet"/>
    <#if helper.getParamValue("SystemLargeFontMode","0")=="1" && !request.getRequestUri()?contains("/login")>
    <link href="<@spring.url '/auth/css/large-font.css'/>" rel="stylesheet"/>
    </#if>
    <#nested/>
</head>
<#if bodyCls??&&bodyCls !=""><#assign bodyClassString=" class=\""+bodyCls+"\""/><#else><#assign bodyClassString=""/></#if>
<body${bodyClassString!}>
<div class="page-loading"></div>
</#macro>
<#macro footer>
    <script src="http://113.140.71.251:1000/cdn/jx/2.0.0/jx.js"></script>
    <#--<script src="http://10.1.1.5:8888/jx.js"></script>-->
    <script>
        jx.rootPath = '<@spring.url "/"/>';
        jx.debug = false;
        $.fn.jxgrid.defaults.pageSize = '${helper.getParamValue("SystemGridPageSize","20")}';
        $.fn.jxgrid.defaults.pageList = [10, 15, 20, 25, 30, 50, 80, 100];
        $.fn.jxgrid.defaults.idField = 'id';
        $.fn.jxgrid.defaults.nameField = 'name';
        $.fn.jxgrid.defaults.striped = true;
        $.fn.jxtreegrid.defaults.idField = 'id';
        $.fn.jxtreegrid.defaults.treeField = 'name';
        $.fn.jxtreegrid.defaults.striped = true;
    </script>
    <script src="<@spring.url '/auth/js/plugin.js'/>"></script>
    <script src="<@spring.url '/auth/js/auth.js'/>"></script>
    <#nested/>
</body>
</html>
</#macro>